Add getPickItem#12552
Conversation
|
Welcome :) not sure about the name, but i dont wanna suggest a thing like |
Yea, I was thinking something on the line of getPickItemResult or getPickItem but I'm not sure really what would work for the name could just stick to getPickResult but it seems like a confusing name to me I'm open to suggestions though! |
kennytv
left a comment
There was a problem hiding this comment.
I feel like I remember another PR adding a method for this but I might just be wrong. pickItem sounds fine
there was #10215 though that was related to the isPickable stuff which even though having the same name is basically something completely different |
7247f85 to
5f23608
Compare
This PR exposes getPickResult to return the item that would be given when the player middle clicks an entity.